﻿using System;
using System.Collections.Specialized;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Text;
//using llano.util;
//using llano.service;
using CF.Data;
using CF.Service;
//using log4net;

namespace CF.App
{

    class Prog
    {

        static void Main(string[] main_args)
        {
            DateTime dt1 = DateTime.Parse("2011-11-12 00:00:00");
            DateTime dt2 = DateTime.Parse("2011-11-13 14:00:00");
            TimeSpan ts = (dt2 - dt1);
            Console.WriteLine(ts.Days);
            Console.WriteLine(ts.Hours);

            //log4net.Config.XmlConfigurator.Configure();


            //Init();
            //BasicQuery();
            //WebQuery();
            Console.WriteLine("OK Press any key!");
            Console.ReadKey();
        }
        static void Init()
        {
            StepByStep guide = new StepByStep();
            guide.Step1_CreateDatabase();
            guide.Step4_CreateRelations();
            //guide.Step2_CreateData();
            //guide.Step3_CreateCity();
            //guide.Step3_CreateFuntype();
            //guide.Step3_CreateIndtype();
            //guide.Step4_CreateRelations();
        }

    }
}

